/<template>
    <div class="classify">
    <div class="left">
        <router-link to="/classify/all">全部</router-link>
        <router-link to="/classify/fantasy">玄幻</router-link>
        <router-link to="/classify/military">军事</router-link>
        <router-link to="/classify/urban">都市</router-link>
    </div>
    <div class="right"><router-view/></div>
    
  </div>
</template>

<script>
export default {

}
</script>

<style>
.classify{
  width: 100%;
  height: calc(100% - 150px);
  display: flex;
}
.left{
  width: 150px;
  height: 100%;
  background-color: #eee;
}
.left a{
  display: block;
  height: 50px;
  line-height: 50px;
  text-align: center;
  color: #333;
  border-bottom: 1px solid #ccc;
}
.left a.router-link-active{
  background-color: #fff;
  color: #f60;
}
.right{
  flex: 1;
  overflow-y: scroll;
}
</style>